import { createStore, combineReducers, applyMiddleware } from 'redux';
import * as home from './home/reducer';
import * as production from './production/reducer';
import thunk from 'redux-thunk';

let store = createStore(
    combineReducers({ ...home,...production}),
    applyMiddleware(thunk)
);

export default store;
